package models

import (
	"github.com/astaxie/beego/orm"
	"time"
)

type Card struct {
	Id int
	Avatar string `orm:"size(150)"`
	Username string `orm:"size(50)"`
	Worker string `orm:"size(50)"`
	Position string `orm:"size(100)"`
	Remark string `orm:"size(255)"`
	Address string `orm:"size(100)"`
	Email string `orm:"size(100)"`
	Qq string `orm:"size(100)"`
	Wx string `orm:"size(100)"`
	Web string `orm:"size(100)"`
	Introduce string `orm:"type(text)"`
	Created_at time.Time `orm:"type(datetime);auto_now_add"`
}

func init()  {
	orm.RegisterModel(new(Card))
}
